<!DOCTYPE html>
<html>
<head  xmlns:th="http://www.thymeleaf.org"
       xmlns="http://www.w3.org/1999/xhtml"
       lang="en">
    <meta charset="UTF-8">
    <link rel="stylesheet" href="/static/css/bootstrap.min.css">
    <link rel="stylesheet" href="/static/css/material-icons.css">
    <link rel="stylesheet" href="/static/css/content/discovery.css">
    <script src="/static/js/jquery.min.js"></script>
    <script src="/static/js/bootstrap.min.js"></script>
    <script src="/static/js/vue-min.js"></script>
    <title>歌曲推荐</title>
</head>
<body>
    <nav class="navbar navbar-expand-lg navbar-light border-danger" id="nav-title">
    <div id="logo" class="col-md-2" style="text-align:center;">
        <img src="/static/img/logo.png">
    </div>
    <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent"
            aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
        <span class="navbar-toggler-icon"></span>
    </button>
    <div class="collapse navbar-collapse" id="navbarSupportedContent">
        <ul id="title-hover" class="navbar-nav mr-auto">
            <li class="nav-item">
                <span class="nav-link">大象云音乐</span>
            </li>
            <li class="nav-item ">
                <a class="nav-link" href="/"> <span>首页</span></a>
            </li>
            <li class="nav-item ">
                <a class="nav-link" href="/user/profile"> <span>我的音乐</span></a>
            </li>
            <li class="nav-item active">
                <a class="nav-link" href="#"><span>推荐歌单</span></a>
            </li>
        </ul>
    </div>
</nav>
    <div class="container">
        <div class="row">
            <!-- 轮播图 -->
            <div class="col-md-12" id="scrollImgs">
                <div id="carouselExampleIndicators" class="carousel slide" data-ride="carousel">
                    <ol class="carousel-indicators">
                        <li data-target="#carouselExampleIndicators" data-slide-to="0" class="active"></li>
                        <li data-target="#carouselExampleIndicators" data-slide-to="1"></li>
                        <li data-target="#carouselExampleIndicators" data-slide-to="2"></li>
                    </ol>
                    <div class="carousel-inner">
                        <div class="carousel-item active">
                            <img class="d-block w-100" src="/static/img/c.jpg" alt="First slide">
                        </div>
                        <div class="carousel-item">
                            <img class="d-block w-100" src="/static/img/d%20(2).jpg" alt="Second slide">
                        </div>
                        <div class="carousel-item">
                            <img class="d-block w-100" src="/static/img/e.jpg" alt="Third slide">
                        </div>
                    </div>
                    <a class="carousel-control-prev" href="#carouselExampleIndicators" role="button"
                       data-slide="prev">
                        <span class="carousel-control-prev-icon" aria-hidden="true"></span>
                        <span class="sr-only">Previous</span>
                    </a>
                    <a class="carousel-control-next" href="#carouselExampleIndicators" role="button"
                       data-slide="next">
                        <span class="carousel-control-next-icon" aria-hidden="true"></span>
                        <span class="sr-only">Next</span>
                    </a>
                </div>
            </div>
        </div>
        <div class="row" id="mainContent">
            <div class="col-1"></div>
            <div class="col-md-10">
                <div class="card tops">
                    <div class="card-header text-info">
                        热门推荐
                    </div>
                    <div class="card-body">
                        <div class="row">
                            <div class="col-md-3" v-for="song in hotTop">
                                <div class="music-panel">
                                    <div class="header">
                                        <img v-bind:src="song.imgUri">
                                        <div >
                                            <a :href="'/play?id='+song.pk">
                                                <i class="material-icons">play_arrow</i>
                                                <span style="margin-left: 7%;color: white">{{song.click}} clicks</span>
                                            </a>
                                        </div>
                                    </div>
                                    <div class="content">
                                        {{song.name}}
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="card tops">
                    <div class="card-header text-info">
                        个性推荐
                    </div>
                    <div class="card-body">
                        <div class="row">
                            <div class="col-md-3" v-for="song in specialTop">
                                <div class="music-panel">
                                    <div class="header">
                                        <img v-bind:src="song.imgUri">
                                        <div >
                                            <a :href="'/play?id='+song.pk">
                                                <i class="material-icons">play_arrow</i>
                                                <span style="margin-left: 7%;color: white">{{song.click}} clicks</span>
                                            </a>
                                        </div>
                                    </div>
                                    <div class="content">
                                        {{song.name}}
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

<script src="/static/js/content/discovery.js"></script>
</body>
</html>